#include <iostream>
#include "PageShower.h"



int main() {
	std::shared_ptr<PageShower> ptr{ new PageShower{} };
	ptr->init();

	while(true) {
		ptr->show();
		ptr->choose();
		system("cls");

		if (State::Closing == ptr->getState()) {
			break;
		}
	}

	return 0;
}